package com.example.demo.service;

import com.example.demo.pojo.dbItems;
import com.example.demo.pojo.dbRole;
import com.example.demo.vo.Result;

public interface ItemsService {
    Result selectAll();

    Result selectItemById(Integer id);

    Result add(dbItems item);

    Result update(dbItems items);

    Result delete(Integer id);

    Result selectByRole(dbRole dbRole);
}
